* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 800px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.currency-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.currency-box {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    width: 45%;
}

.amount-container, .currency-selection {
    margin-bottom: 15px;
}

p {
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
}

#result {
    background-color: #f0f0f0;
    color: #444;
    font-weight: bold;
}

.swap-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

#swap-btn {
    background-color: #3498db;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

#swap-btn:hover {
    background-color: #2980b9;
    transform: rotate(180deg);
}

.info-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

#convert-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 30px;
    transition: background-color 0.3s ease;
}

#convert-btn:hover {
    background-color: #27ae60;
}

footer {
    margin-top: 30px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .currency-container {
        flex-direction: column;
    }
    
    .currency-box {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .swap-container {
        margin: 10px 0;
    }
    
    .info-container {
        flex-direction: column;
        align-items: center;
    }
    
    .info-container p {
        margin-bottom: 10px;
    }
} 